package com.maisuiit.pattern.factory;

/**
 * @author zhangcc
 * @date 2021-07-13
 */
public class TotalFactoryReally implements TotalFactory {
    @Override
    public Car createChair() {
        return new CarA();
    }

    @Override
    public Engine createEngine() {
        return new EngineA();
    }
}
